package com.seu.clab.farm.model.dto.post;

import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.Pattern;

@Data
public class AccountModifyDTO {
    String accountId;
    private String name;
    @Pattern(regexp = "\\d{6,11}")
    private String phone;

    private String email;
    @Pattern(regexp = "\\d{17}[0-9,x,X]")
    private String identify;
}
